Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass health checks if any block is produced #1631

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

JamesHinshelwood
Copy link
Contributor

Previously, the check only passed if the latest returned block was greater than the previous one. Occasionally, we reset the devnet to an earlier block. This causes all the health checks to fail. So instead we just assert that the 'latest' block has changed within the last 60 seconds, even if the block number has decreased.

Previously, the check only passed if the latest returned block was greater than the previous one. Occasionally, we reset the devnet to an earlier block. This causes all the health checks to fail. So instead we just assert that the 'latest' block has changed within the last 60 seconds, even if the block number has decreased.
@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue Oct 14, 2024
Merged via the queue into main with commit dcc7e25 Oct 14, 2024
5 checks passed
@JamesHinshelwood JamesHinshelwood deleted the health-check-backwards branch October 14, 2024 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants